﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using ZRT.RHPX.Core.Modules;

namespace ZRT.RHPX.Admin
{
    public class AdminModule : Module
    {
        public override string ModuleName
        {
            get { return "Admin"; }
        }

        public override void RegisterRoutes()
        {
            MapRoute(
                "Admin_default",
                "Admin/{controller}/{action}.html/{id}",
                new { action = "Index", id = UrlParameter.Optional }, new string[] { "ZRT.RHPX.Admin.Controllers" }
            );

        }
    }
}
